package com.hirsi.module.file.controller;

import com.hirsi.core.annotation.RequestMapping;
import com.hirsi.core.vo.param.PageParam;
import com.hirsi.core.vo.result.PageResult;
import com.hirsi.module.file.service.FileService;
import com.hirsi.module.file.vo.param.QueryFileParam;
import com.hirsi.module.file.vo.result.FileResult;

@RequestMapping("file")
public class FileController {

    @RequestMapping("query")
    public PageResult<FileResult> query(PageParam page, QueryFileParam param) {
        return FileService.query(page, param);
    }
}
